package yl.hs.bmipfull.daos.finance;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yl.hs.bmipfull.daos.BaseDao;
import yl.hs.bmipfull.pojo.finance.BrickShipSettleDetailEntity;
import yl.hs.bmipfull.pojo.production.BrickShipOrderModel;

import java.util.Date;
import java.util.List;

/*
 * IBrickShipSettleDetailDao
 * @category
 * @author 谢景广
 * @date 2023-01-03
 */
@Repository
public interface IBrickShipSettleDetailDao extends BaseDao<BrickShipSettleDetailEntity> {
    Integer deleteBySettleSN(@Param("settleSN") String settleSN);
    List<BrickShipSettleDetailEntity> queryBySettleSN(@Param("settleSN") String settleSN);

    List<BrickShipOrderModel> queryTempDetails(String contractSN, Date start, Date end);
}
